package cn.lovemmd.model.admin.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("model_download_log")
public class DownloadLog {
    @TableId(type = IdType.AUTO)
    private Long id;

    private Long modelId;
    private Long userId;
    private String ip;
    private String userAgent;
    private String referer;

    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
}
